<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="wrap">
        <div class="nav">
            <div class="logo">
                <p>我的博客</p>
            </div>
            <div class="menu">
                <ul>
                    <li class="active">首页</li>
                    <li>笔记</li>
                    <li>项目</li>
                    <li>博客</li>
                    <li>练习</li>
                </ul>
            </div>
        </div>
        <div class="banner">
            <div class="desc">
                <div class="line"></div>
                <p>行路难，行路难，多歧路今安在，长风破浪会有时，直挂云帆济沧海</p>
            </div>
            <div class="name">
                <h1>一只<br>小猫头鹰</h1>
            </div>
        </div>
        <div class="content">
        </div>
    </div>
</body>
<style>
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        color: #fff;
    }

    .wrap {
        width: 100%;
        background: url(./th.jpg) no-repeat center;
        background-attachment: fixed;
        background-size: cover;
        overflow: hidden;
    }

    .logo {
        position: absolute;
        top: 50px;
        left: 50px;
    }

    .logo p {
        font-size: 30px;
        color: #cee002;
        font-weight: 800;
    }

    .menu {
        position: absolute;
        top: 20px;
        right: 40px;
    }

    .menu ul li {
        list-style: none;
        display: inline-block;
        padding: 30px;
    }

    .active {
        color: #cee002;
    }

    .banner {
        width: 60%;
        height: 100vh;
        margin: auto;
        display: grid;
        grid-template-rows: 1fr 1fr;
    }

    .desc,
    .name {
        align-self: end;
    }

    .line {
        width: 100%;
        height: 6px;
        background: #cee002;
    }

    .desc p {
        width: 50%;
        font-size: 30px;
        font-weight: 200;
        padding-top: 20px;
    }

    h1 {
        font-size: 100px;
    }

    .content {
        height: 1000px;
    }
</style>


</html>